package application;

public class Field implements Cell{
	
	int col;
	int row;
	BoardContent content;
	
	public Field(int col, int row){
		this.col = col;
		this.row = row;
	}
	
	public Field(int col, int row, BoardContent contend){
		this.col = 		col;
		this.row = 		row;
		this.content = 	contend;
	}

	@Override
	public int getCol() {
		return col;
	}

	@Override
	public BoardContent getContent() {
		return content;
	}

	@Override
	public int getRow() {
		return row;
	}
	
	@Override
	public String toString(){
		return String.format("["+getRow()+","+getCol()+"]");
	}
}
